Repository navigation
Deck: guest sign-up path, boot route race, keyboard and plan-consistency fixes - #139
Merged
Merged
Conversation
…ncy fixes
- Boot route: the page restored at boot waited for a frame and then replaced anything
opened before it ran (a background tab gets no frames), so the Deck jumped back to the
Overview. It now stands down when a page or tool was already opened.
- Guest and Test Mode (no account): Monitors, Deadlines, the weekly digest and upgrade
requests explained nothing or failed after the click ("Sign in to use monitors." on the
Deadlines page, "Couldn't send the request. Try again." on Plans). They now say what needs
an account and offer "Create a free account", which opens the sign-up form (/?signup=1).
The account menu says "Not signed in" and offers sign-up; "Sign out" reads "Leave guest mode".
- Workspace menu: "Create a workspace" is offered only where the Team page is (Team plan),
matching worker/plan.js teamSync; below Team it points at Plans.
- Keyboard and screen readers: the signed-out shell behind the Deck is inert (two invisible
tab stops before the first Deck control), the showing page is the main landmark, and
"Skip to content" focuses it instead of the empty #view. Empty table header and an empty
role=tooltip fixed.
- Overview: with no findings yet, the four remaining KPI tiles fill the row instead of
leaving two empty columns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Product-layer audit of the Deck (guest
/?app=1and Test Mode, 1440x900 and 390x844). Fixes ranked by impact; hosting only, no Worker or rules change, no TOS change.Fixed
go(initial)) runs in arequestAnimationFrame; a background tab gets no frames, so a page or tool opened before the first frame was replaced by the restored one when the tab became visible. Reproduced by delaying rAF 3s: Monitors -> Overview at +3s. Boot now stands down when anything was opened already (navSeqindeck-ui.js). Deep links,/check/<domain>, locked links -> Plans, back/forward re-checked.Now these say what needs an account and offer Create a free account, which opens the sign-up form (
/?signup=1, handled inauth.js). The account menu reads "Not signed in" with a sign-up item; "Sign out" reads "Leave guest mode".worker/plan.jsrefusesteamSyncbelow Team, so the workspace could neither sync nor add members. The menu now offers it where the Team page is, and points at Plans otherwise (docs FAQ already says team workspaces are Team).#view, and there was no main landmark. The shell behind the Deck is nowinertwhile the Deck is the page (restored on teardown), the visible page isrole=main, and the skip link focuses it. Also: empty<th>labelled, emptyrole=tooltiprail flyout madearia-hidden(nav buttons already carryaria-label).Verified
npm test: 5156 passed, 0 failed.npm run release:check: READY.darknode-scan --fail-on high --diff-base origin/main: gate passed.firebase serve, Playwright with service workers blocked, guest and Test Mode at 1440x900 and 390x844: every sidebar scene (switch 5-60 ms, no overflow, no console errors), first-run check on example.com, Ctrl+K, Ask AI, workspace switcher, account menu, Settings, Plans, all ten Quick Checks (frames ready in about 1 s, inputs empty). axe on the Overview: no violations besides colour contrast, which axe measures on the light design under the Deck's invert filter (the rendered dark colours pass).Not changed (needs an owner or the landing/check owner)
public/js/check/first-run.js(not in this PR's scope): for a guest, "Watch this domain" fails with a sign-in message and a Try again button that cannot succeed. It should offer sign-up instead (the Deck now passes nothing new to it; a small change there).role=buttonwith a pin button inside (axenested-interactive, 264 nodes): needs a card markup change.